package cn.itsource.org.service;

import cn.itsource.org.domain.TbUser;
import cn.itsource.org.qury.UserQuery;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface TbUserService {
    int deleteByPrimaryKey(Long id);

    int insert(TbUser record);
    void  save (TbUser user);

    int insertSelective(TbUser record);

    TbUser selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(TbUser record);

    int updateByPrimaryKey(TbUser record);

    PageInfo<TbUser> pageInfo(UserQuery userQuery);

    void BatchDelete(List<TbUser> users);
    Boolean exist(TbUser user);
}
